package com.tlkj.common.curd.entity;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * API目录.
 * @author Holen
 * @since 2024-6-19
 */
@Getter
@Setter
public class ApiMenu extends BaseEntity {
    private static final long serialVersionUID = 643707148948088568L;

    /** 名称 */
    @NotNull(message = "名称不能为空!", groups = {Save.class, Update.class})
    private String name;

    /** 父节点ID */
    private String parentId;
}